package Odhgos_Polhs;

import java.util.ArrayList;

public class Area {
    
    //Attributes
    private int ID;
    private String name;
    
    private ArrayList<Restaurant> restaurantList = new ArrayList<Restaurant>();  //Υλοποίηση σχέσης με Restaurant

    //Constructor
    public Area(int ID, String name) {
        this.ID = ID;
        this.name = name;
    }
    
    //All Setters & Getters

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<Restaurant> getRestaurantList() {
        return restaurantList;
    }

    public void setRestaurantList(ArrayList<Restaurant> restaurantList) {
        this.restaurantList = restaurantList;
    }
    
}// End Class Area
